Array.prototype.dyx_splice = function(start = 0, deleteCount, ...items){
    const length = this.length;
    const res = []
    if(start < 0) start = length-start
    if(start < -length) start = 0
    if(start > length) start = length +1
    for(let i = start; start < deleteCount + start && start < length; i++ ){
        res.push(this[i])
    }

}